Visual Basic (Declaration) | |
---|---|
Function WithSampleDataProviders( _ ByVal ParamArray sampleDataProviders() As ISampleDataProvider(Of T) _ ) As IEntityManagerProviderConfigurator(Of T) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As IEntityManagerProviderConfigurator(Of T) Dim sampleDataProviders() As ISampleDataProvider(Of T) Dim value As IEntityManagerProviderConfigurator(Of T) value = instance.WithSampleDataProviders(sampleDataProviders) |
C# | |
---|---|
IEntityManagerProviderConfigurator<T> WithSampleDataProviders( params ISampleDataProvider<T>[] sampleDataProviders ) |
C++/CLI | |
---|---|
IEntityManagerProviderConfigurator<T^>^ WithSampleDataProviders( ... array<ISampleDataProvider<T^>^>^ sampleDataProviders ) |
Parameters
- sampleDataProviders
- One or more sample data providers.
If the SampleDataProviders are not configured, the EntityManagerProvider will try to discover them through the MEF container.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family